


//  #include "string_tools.h"


#ifndef __STRING_TOOLS_H__
#define __STRING_TOOLS_H__

#include "stdint.h"


uint8_t uitoa (const uint16_t nb,const uint16_t base,char str[]);
uint16_t atoi16(char* str,uint16_t base	);


void inet_addr_(unsigned char* addr,unsigned char *ip);

void NumToStr(unsigned char ucNum,unsigned char *pStr);
void HexToStrLen(unsigned char *pHex,unsigned char *pStr,	unsigned int len);


//ret=0,查找失败，ret=1查找成功
uint8_t FindStringFast(char* s,const char* t);
int16_t FindStringRetIndex(char* s,const char* t);



#endif   //// __STRING_TOOLS_H__

